package com.mashibing.juc.c_022_RefTypeAndThreadLocal;

import java.io.IOException;

/**
 * 强引用(普通引用)，只要引用存在，垃圾回收器就不会回收对象
 * @author: Yuanzt
 * @Date: 2021/3/31
 */
public class T01_NormalReference {

    public static void main(String[] args) throws IOException {
        M m = new M();
        m = null;
        System.gc();
        System.in.read();//阻塞当前线程
    }
}
